package com.qujia.label.mapper;


import com.qujia.label.domain.ButtonSwitch;
import org.apache.ibatis.annotations.Param;

public interface ButtonSwitchMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ButtonSwitch record);

    int insertSelective(ButtonSwitch record);

    ButtonSwitch selectByPrimaryKey(@Param("userId") Long userId);

    ButtonSwitch selectByEnterpriseId(@Param("enterpriseId") Long enterpriseId);

    int updateByPrimaryKeySelective(ButtonSwitch record);


    int updateByPrimaryKey(ButtonSwitch record);
}